package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.pojo.Press;
import com.example.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ItMapper extends BaseMapper<Press> {

    void pressById(Integer id);

    Integer repeatId(Integer id);

    void addPressById(Integer id);

    List<Press> selectAllPress();


    List<User> selectDutyCount();

}
